package com.xiaotu.mapper;

import com.xiaotu.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface DeptMapper {
    List<Dept> selectAll();
    Dept selectById(Integer id);
    boolean insertDept(Dept dept);
}
